package com.open.capacity.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FinanceVO {
    private String stname;       //工位名称
    private String orcode;       //订单码
    private Integer letime;      //租赁时长
    private Float prices;        //订单总价：单价*letime
    private Date crdate;         //订单创建时间
    private Date update;         //订单最新修改时间
    private Integer count;
    private String datetime;
    private Float sumprices;
    @DateTimeFormat(pattern = "yyyy/MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd hh:MM:ss")
    private Date time;
}
